<?php

/* 会员 member */
class RolesModel extends BaseModel
{
    var $table  = 'roles';
    var $prikey = 'role_id';
    var $_name  = 'roles';
	
    var $_relation = array(
		'belong_member' => array(
            'model'         => 'member',
            'type'          => BELONGS_TO,
            'foreign_key'   => 'user_id',
            'dependent'     => true
        )
	);
	
	
}

?>